<?php # Icd_Nine_Entry.php

require_once 'DBObject.php';

class Icd_Nine_Entry extends DBObject {
	public $tablename = "icd_nine_entry";
	
	public $id;
	public $patient_id;
	public $code_id;
	public $date_given;
	
	public function get() {
		return array(
					'id' => $this->id,
					'patient_id' => $this->patient_id,
					'code_id' => $this->code_id,
					'date_given' =>	$this->date_given
				);
	}
	
	public function validate() {
		return parent::validateObject($this->tablename);
	}
}